﻿namespace CSharpPro._0918;

public class phone
{
    private string brand;
    private string weight;
    private long camera;
    private int price;
    public phone(string brand, string weight, long camera, int price)
    {
        this.brand = brand;
        this.weight = weight;
        this.camera = camera;
        this.price = price;
    }
    public void show()
    {
        Console.WriteLine("手机品牌：{0}，手机重量：{1}，手机摄像头：{2}，手机价格：{3}", this.brand, this.weight, this.camera, this.price);
    }
    

}